<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Meeting Reply</title>
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="http://cmp/css/cmp.css"/>
<link rel="stylesheet" href="http://commons.v5.cmp/cmp-resources/M1H5.s3css"/>
<link rel="stylesheet" href="${data:dependencies.cmp}/css/cmp-att.css">
<link rel="stylesheet" href="${data:dependencies.cmp}/css/cmp-listView.css">
<style>




</style>

</head>
<body>
<!--顶部导航-->
<header class="cmp-bar cmp-bar-nav content_header">
	<a href="#menus" class="cmp-action-back cmp-icon cmp-icon-left-nav cmp-pull-left"></a>
	<span id="string2Json" class="cmp-icon cmp-pull-right submit_text">提交</span>
	<h1 id="title" class="cmp-title">回复意见</h1>
</header>

<div  class="cmp-content position_relative replay_opinion_content" style="background-color: #fff;">


	<div class="cmp-segmented_title_content">
		<form class="cmp-input-group replay_title_radio">
			<div class=" cmp-radio  replay_set">
				<input id="canjia" name="radio1" type="radio">
				<img class="title_img" src="M1H5Mobilize/img/canjia.png" alt=""/>
				<label for="canjia" class="text">参加</label>
			</div>
			<div class=" cmp-radio  replay_set">
				<input id="bucanjia" name="radio1" type="radio">
				<img class="title_img" src="M1H5Mobilize/img/bucanjia.png" alt=""/>
				<label class="text">不参加</label>
			</div>
			<div class=" cmp-radio  replay_set">
				<input id="daiding" name="radio1" type="radio">
				<img class="title_img" src="M1H5Mobilize/img/daiding.png" alt=""/>
				<label for="daiding" class="text">待定</label>
			</div>
		</form>
	</div>

	<div class="cmp-control-content cmp-active">
		<div id="content" class="cmp-scroll-wrapper">
			<div class="cmp-scroll ">
				<div class="information">
					<textarea id="textarea" rows="5" placeholder="请输入处理意见"></textarea>
					<h5>124</h5>
				</div>
				<div class="replay_but_content">
					<div class="item">
						<span class="cmp-icon cmp-icon-paperclip accessory_icon cmp-left"></span>
						<span>(<span>0</span>)</span>
					</div>
					<div class="item">
						<span class="cmp-icon cmp-icon-gear"></span>
					</div>
				</div>
				<div id="picture" class="    ">

				</div>
				<!--<div class="replay_accessory_list_content">-->
					<!--<ul>-->
						<!--<li class="item">-->
							<!--<div class="box">-->
								<!--<div class="cmp-icon-accessory photo"></div>-->
								<!--<p>拍照</p>-->
							<!--</div>-->
						<!--</li>-->
						<!--<li class="item">-->
							<!--<div class="box">-->
								<!--<div class="cmp-icon-accessory record"></div>-->
								<!--<p>语音</p>-->
							<!--</div>-->
						<!--</li>-->
						<!--<li class="item">-->
							<!--<div class="box">-->
								<!--<div class="cmp-icon-accessory document"></div>-->
								<!--<p>关联文档</p>-->
							<!--</div>-->
						<!--</li>-->
						<!--<li class="item">-->
							<!--<div class="box">-->
								<!--<div class="cmp-icon-accessory localFile"></div>-->
								<!--<p>本地文件</p>-->
							<!--</div>-->
						<!--</li>-->
						<!--<li class="item">-->
							<!--<div class="box">-->
								<!--<div class="cmp-icon-accessory takePhotos"></div>-->
								<!--<p>本地图片</p>-->
							<!--</div>-->
						<!--</li>-->
					<!--</ul>-->
				<!--</div>-->
				<ul class="cmp-list-content cmp-accessory-content">
					<li class="cmp-list-cell ">
						<div class="cmp-accessory-content fold_replay_content">
							<div class="cmp-list-accessory">
								<div class="accessory-img  ">
									<span class="cmp-icon cmp-icon-image"></span>
									<!--<img class=" cmp-pull-left img_setting" src="../img/accessory@3x.png">-->
								</div>
								<div class="accessory-info">
									<div class="info-txt">
										<span class="cmp-ellipsis accessory-info_name">管理员管理员管理员管理员</span>
										<span class="cmp-ellipsis accessory-info_size">2KB</span>
									</div>
									<span class="cmp-icon iconfont icon-daoruxiazai download"></span>
								</div>
								<span class="cmp-icon iconfont icon-roundclosefill icon_delete"></span>

							</div>
						</div>
					</li>
					<li class="cmp-list-cell ">
						<div class="cmp-accessory-content fold_replay_content">
							<div class="cmp-list-accessory">
								<div class="accessory-img  ">
									<span class="cmp-icon cmp-icon-image"></span>
									<!--<img class=" cmp-pull-left img_setting" src="../img/accessory@3x.png">-->
								</div>
								<div class="accessory-info">
									<div class="info-txt">
										<span class="cmp-ellipsis accessory-info_name">管理员管理员管理员管理员</span>
										<span class="cmp-ellipsis accessory-info_size">2KB</span>
									</div>
									<span class="cmp-icon iconfont icon-daoruxiazai download"></span>
								</div>
								<span class="cmp-icon iconfont icon-roundclosefill icon_delete"></span>

							</div>
						</div>
					</li>
				</ul>
			</div>
		</div>
	</div>



</div>
<s3:data name='cordova' />
<script src="http://cmp/js/cmp.js"></script>
    
<script src="${data:dependencies.cmp}/js/cmp-att.js"></script>
<script src="${data:dependencies.cmp}/js/cmp-iat.js"></script>
<script src="${data:dependencies.cmp}/js/cmp-camera.js"></script>
<script src="${data:dependencies.cmp}/js/cmp-imgCache.js"></script>
<script src="${data:dependencies.cmp}/js/cmp-listView.js"></script>
<script>
//	document.getElementById("cameraId").addEventListener("tap",function (){
//		var items = [{
//				key: "1
// ",
//				name: "拍照"
//			},{
//				key: "2",
//				name: "相册"
//			}
//		];
//		cmp.dialog.actionSheet(items, "取消", function (item) {
//			if(item.key == "1"){
//				cmp.camera.getPictures({
//					sourceType:1,
//					quality:60,
//					success:getPicSuccess,
//					error:function(res){
//					}
//				});
//			}else if(item.key == "2"){
//				cmp.camera.getPictures({
//					sourceType:0,
//					quality:60,
//					success:getPicSuccess,
//					error:function(res){
//					}
//				});
//			}
//		}, function () {
//			console.log("您点击了取消按钮!");
//		});
//	});
//
//
//	document.getElementById("micId").addEventListener("tap", function () {
//		cmp.iat.input({
//			success: function (res) {
//				document.getElementById("textarea").value = res.result.value;
//			}
//		});
//	});
//

cmp.ready(function () {
	var pageType = 1; <!--1:回执  2，回复,3知会 -->
	var meetingId = "";
	var content = "";
	var proxyId = "";
	var commitReply = {
			"reply":[{
					 "pagetype":pageType,
					 "meetingId":meetingId,
					 "content":content,
					 "proxyId":proxyId
			}]
	};
	document.querySelector("#string2Json").addEventListener("tap", function () {
		cmp.ajax({
			url: "config.json",
			type: "POST",
			data: {},
			dataType: "JSON",
			success: function (res) {
				console.log(res);
			},
			error: function (res) {
				console.log(res);
			},
			complete: function (res) {
				console.log(res);
			}
		});
	});

	//必要函数 滚动列表
	cmp.listView('#content');
	new cmp.att.initUpload('#picture',function(){

	});
});
</script>

</body>
</html>
